some prime functions