added ideas from class