added costmao knowledge and reasoning methods