debug for others
fixed other prob
templet implemented