adding code for subject module