minor code included