Second part, but does not work due to strange bugs