implemented formatter handler