Working Version
Working Version for 103 frames