needs a bit of styling and markup but this works just fine.