change to call instead of apply
added parallel class