add label functionality, update formatting