work on api resources