added convenience methods for arrays and superglobals