Should also work with objects