better & simpler use of slots