made some changes to console