SetDropLineY and CreateNewElements functions implemented