changed a really long type to auto