Trying to follow Dan's directions