Changed Sleep library + Work on Cal function