mostly got the setup working