Code finds points