code clean up
detailed orders logging added