use let syntax instead of before to get rid of instance variables