raw port from codelikethis