created for course project