cleanup/removal of redundent function
removed un-needed logging