debugged errors with sample data. running!