Implement with and variables also $variable output