Changed keyword all to public