changes towards implementing hit pattern recognition