added random task feature