formatting and mock off