Print and Demo function