Creating a ratrap