Added some basic abstraction
Forgot a semicolon
New to php, trying to get this to work