add sample input
reading from file