code from warmup - Emily Platzer