adding methods and sample data