This does not follow our coding conventions. You should split this up.