getting profile stuff working