Make it work for single elements