final attempt at getting this to work