added support for responsiveness