added as class variables, thanks for the input