implemented subject managing