desired is actually an int, not bytes