inline method + added class keyword