setting subject listeners