old line
redirect
adding logging and fixing up view