added subjects to active records
corrected syntax for subjects column