changing interfaces methods to public