made profile pretty added some logic to the menu