implemented nomap function