added checking for alternate model - still needs improvement