my first attempt (new to ios, kind of)