moved doc argument declaration