implemented basic format