* used helper function for inOutPreview binding