fixed #respond and moved to parent class