moved antigen.rb formula