better use of logging in lpad command, update TODOs