populate stages list to account for missing stages
wrap long line and check if duration attribute exists