adding flowtype