modified all, added destroy method for messages and schedule