removed const because C doesn't really do const