Move this to a separate file and add a comment about where these magic values come from