BTW in good object oriented code this is usually solved by object with same method. so you always call same method.