messing about with C