Higher costs cause annual profits to slip