it works with objects too???