added sample data. changed loading method.