Proper syntax
Added terminal messages