Changed autonomous from reference to pointer