Added Algorithm Check

Added Algorithm Check