Rename variables to start and end

Signed-off-by: Igor Popov <igor.popov89@gmail.com>