brought back modules.last as it turns out it was getting used