A method for performing a synchronization run of an elevator stopped between floors (116a-116n), the method comprising: - upon initiating the synchronization run, driving an elevator at a low speed in order to detect a first door zone magnet (114a-114n) of the elevator shaft, - detecting the first door zone magnet (114a-114n) of the elevator shaft, - comparing an identification code of the detected first door zone magnet with stored pre-information in order to identify the detected first door zone magnet (114a-114n), - in response to identification of the first door zone magnet (114a-114n), generating a control signal to the elevator car to raise the elevator speed, characterized in - obtaining continuously a pulse position information of the elevator car , and - defining an absolute position information of the elevator car by adding a predefined correction value to the obtained pulse position information of the elevator car , wherein the predefined correction value indicates a drift between the obtained pulse position information of the elevator car and the actual pulse position of the elevator car , wherein the predefined correction value is defined during the synchronization run, the method comprising: - obtaining from the stored pre-information the pulse position information of the door zone magnet (114a-114n) corresponding to the detected first door zone magnet, and - defining the correction value by subtracting the pulse position information of the elevator car at the detection position of the first door zone magnet (114a-114n) from the stored pulse position information of the door zone magnet corresponding to the detected first door zone magnet. - upon initiating the synchronization run, driving an elevator at a low speed in order to detect a first door zone magnet (114a-114n) of the elevator shaft, - detecting the first door zone magnet (114a-114n) of the elevator shaft, - comparing an identification code of the detected first door zone magnet with stored pre-information in order to identify the detected first door zone magnet (114a-114n), - in response to identification of the first door zone magnet (114a-114n), generating a control signal to the elevator car to raise the elevator speed, characterized in - obtaining continuously a pulse position information of the elevator car , and - defining an absolute position information of the elevator car by adding a predefined correction value to the obtained pulse position information of the elevator car , wherein the predefined correction value indicates a drift between the obtained pulse position information of the elevator car and the actual pulse position of the elevator car , wherein the predefined correction value is defined during the synchronization run, the method comprising: - obtaining from the stored pre-information the pulse position information of the door zone magnet (114a-114n) corresponding to the detected first door zone magnet, and - defining the correction value by subtracting the pulse position information of the elevator car at the detection position of the first door zone magnet (114a-114n) from the stored pulse position information of the door zone magnet corresponding to the detected first door zone magnet. <EOS>