added reporter to meta file
added comments, cleaned up code