Changed to procedual approach due to high processing time when using functional: one day = 10 minutes to run
Resolved issues except for weather