modified to be more mobile-device friendly