based on a template made by Andrea Cox