added get all frames api