adding format_interface function and spec tests