added basic inspecting algorithem, popcorn is now ready!