Made smart prefix for intelligence

made new method to take end and choose correct prefix.