Added the method to its block to maintain the connection between them