Created hastat_manual.rb for testing