Added task required functionality.