added values() function