Added log function
Added parser