task actions final working version