Added getgetNeededFrame methoded