changed testing input
prototype of merging parts of two method bodies using a conditional
implemented