attempt to make more compatable with mobile