finally got shit working