adding meaned frames stuff