code cleanup

removed unnecessary wrapper