work on result class