Code taken from various projects from various courses