format code
format code and actually use the scope and this instead of me