Need to rewrite snake for a better one