removing statlib dependency