Made functions public in class