Please choose the correct solution to the question: To securely attach wood pieces perpendicular to each other

Solution1: Use wood glue and glue the pieces of wood together.

Solution2: Use pocket screws and drill the pieces of wood together.

Answer format: solution1/solution2
Answer: solution2