started adding individual functions