still not working correctly on smartphones...