Moved time declarations

Struct declaration order matters it looks like.