this probably needs a cast to not emit a warning