Added variable to decide if using basic or complex in