minor code prettying