added epoc2 with added threading with multiprocess module