might make sense to improve the comment to clarify what the heck is going on here (i have no idea)