Added erlang parallel version