frame manipulation