changed end position