modifying client for splicing