Code is working correctly