made parent command; moved common func into statics; task calls properbly