Adding a "before" method