added logging and shell