using ann mehtods now implemented