added date modified column and removed extraneous code that was added to different query