started implementing subscribe/unsubscribe switch