modified inline to have a hover state as well