use asset helper function to manage the assets