made variables private