Add detailed comments