code refactor + repaired save time + converted to ms
new instructions