changed button styles
added format param to view