cleaned up code..  added comments and added compile status
added success compile msg