Added code from Jakub's PC