Update common.php

Started filling in code