Added extra comments, fixed time issue and created better value dividemend