get rid of startsWith function