added first version of contains
stub for constraining position