implemented responsiveness