tried it without importing datetime