updated to the current version of the code which has been adjusted to add responsive design