Set position with constructor