Added logging for handle funcs