Updated listening
Created API