Some poor code