sending resources to gui