Implement shape masking, input field