added new way to acces params