flip method return null