got rid of auxil functions