Why its not working?

check this method