schedule moved to models