Added debug messages, fixed picking time