reformatting for readability
unused namespace removed