class made public and fixed space mistake