refactored success? method