getter better at swift