adding pre and post registered methods