Basic implementation with prints on standard output