checked for divisibility by 3 and 5