Added a simplified version