placing functions