added layout and basic clip control