working towards concise, organized code