work on subject optimization