Separate functions to wines module