put now working correctly