updated to use blade syntax