finally got labels working right

this needs to be refactored though