even more attempts to get this working