finish writting class