Added new os task functions