try to detect subroutine/function