made personal class more efficient