Task constructior has separated parameters now