another attempt at getting it right