first part for AI
add path finder part 1