move all public interfaces to the top