Fixed deprecation stuff and removed unnecessary println
Basic example